{{#component "departmentManage"}}
<script type="text/javascript"  src="/components/menu_nj/authManage/departmentManage/view.js"></script>
<body style="background:#fff" >
    <div class="easyui-layout" style="height:750px;">
      <div style="width:1200px;margin: 0 auto;font-size:14px; font-family: Tahoma,Verdana,微软雅黑,新宋体;">
        <div style='font-size:15px;padding:8px 0px;'>您的位置:系统管理>>部门管理</div>
        <div>
         <table id="treegrid" style="width:1200px;height:520px;">
         </table>
        </div>
      </div>
    </div>


  <!-- 右键点击节点弹框 -->
  <div id="menu" class="easyui-menu" style="width:120px;display:none;">
    <div id="adddepbut" onclick="addDept()" iconCls="icon-add">添加部门</div>
    <div id="editdepbut" onclick="editDept()" iconCls="icon-edit">修改信息</div>
    <div id="removedepbut" onclick="removeDept()" iconCls="icon-remove">删除部门</div>
  </div>



  <!-- 添加、修改部门弹框 -->
  <div id="editinfo" class="easyui-dialog" title="修改" data-options="collapsible:false,minimizable:false,maximizable:false,closed:true,iconCls:'icon-save'" style="width:800px;height:430px;padding:10px;overflow:hidden;"> 
   <br /> 
   <div align="center" style="margin:0px;"> 
    <form id="departmentForm"> 
     <table id="test" width="800" class="bordered" align="center" border="0" bordercolor="#FFCC00"> 
      <tbody>

       <tr style="height:25px;"> 
        <td style="width:165px;">部门名称</td> 
        <td style="width:235px;"><input id="departmentname" name="departmentname" class="easyui-textbox" style="background-color:#fff;width:160px" required="true" missingmessage="此项为必填选项" />
        </td> 
        <td style="width:165px;">实验室编码</td> 
        <td style="width:235px;"><input id="departmentcode" name="departmentcode" class="easyui-textbox" value="" style="background-color:#fff;width:160px" required="true" missingmessage="此项为必填选项" />
        </td>
      </tr> 

       <tr style="height:25px;"> 
        <td  style="width:165px;">&nbsp;&nbsp;节点类型</td> 
        <td >&nbsp;&nbsp;<select class="easyui-combobox" id="type" name="type" style="width:160px" editable="false">
          <option value="a" selected="selected">----</option>
          <option value="事业部">事业部</option>
          <option value="质量部">质量部</option>
          <option value="开发部">开发部</option>
        </select></td> 
        <td  style="width:165px;">&nbsp;&nbsp;详细地址</td> 
        <td >&nbsp;&nbsp;<input id="address" name="address" class="easyui-textbox" style="width:160px;" /></td> 
       </tr> 


       <tr style="height:30px;" id="manage"> 
        <td align="center" colspan="4" style="text-align: center;"> 
          <input id="save" name="save" type="button" value="保存" style="width:70px" />
          <input id="cancel" name="cancel" type="button" value="取消" style="width:70px" /> 
        </td> 
       </tr>

      </tbody>
     </table> 
    </form> 
   </div> 
  </div>
</body>
{{/component}}